﻿@using (Html.Bootstrap().Container().Begin())
{
    @Html.Bootstrap().Heading1("Headings")
    using (Html.Bootstrap().Div().SetId("test-heading-levels").Begin())
    {
        @Html.Bootstrap().Heading1("Heading 1")
        @Html.Bootstrap().Heading2("Heading 2")
        @Html.Bootstrap().Heading3("Heading 3")
        @Html.Bootstrap().Heading4("Heading 4")
        @Html.Bootstrap().Heading5("Heading 5")
        @Html.Bootstrap().Heading6("Heading 6")
    }
    
    <hr/>

    @Html.Bootstrap().Heading1("Small")
    using (Html.Bootstrap().Div().SetId("test-small").Begin())
    {
        @Html.Bootstrap().Heading3("Heading 3").SetSmallText("This is small")
    }

    <hr />

    @Html.Bootstrap().Heading1("Small Child")
    using (Html.Bootstrap().Div().SetId("test-small-child").Begin())
    {
        @Html.Bootstrap().Heading3("Heading 3").WithChild().Small("This is also small")
    }

    <hr />

    @Html.Bootstrap().Heading1("Alignment")
    using (Html.Bootstrap().Div().SetId("test-alignment").Begin())
    {
        @Html.Bootstrap().Paragraph("Left").SetAlignment(TextAlignment.Left)
        using (Html.Bootstrap().Paragraph().SetAlignment(TextAlignment.Right).Begin())
        {
            <text>Right</text>
        }
        @Html.Bootstrap().Paragraph("Center").SetAlignment(TextAlignment.Center)
        @Html.Bootstrap().Paragraph("Justify").SetAlignment(TextAlignment.Justify)
        @Html.Bootstrap().Paragraph("No Wrap").SetAlignment(TextAlignment.Nowrap)
    }

    <hr />

    @Html.Bootstrap().Heading1("Transformation")
    using (Html.Bootstrap().Div().SetId("test-transformation").Begin())
    {
        @Html.Bootstrap().Paragraph("Lowercase").SetTransformation(TextTransformation.Lowercase)
        @Html.Bootstrap().Paragraph("Uppercase").SetTransformation(TextTransformation.Uppercase)
        @Html.Bootstrap().Paragraph("capitalized text").SetTransformation(TextTransformation.Capitalize)
    }

    <hr />

    @Html.Bootstrap().Heading1("Multiple Text Classes")
    using (Html.Bootstrap().Div().SetId("test-multiple-text-classes").Begin())
    {
        @Html.Bootstrap().Paragraph("Multiple").SetTransformation(TextTransformation.Uppercase).SetAlignment(TextAlignment.Center)
    }

    <hr />

    @Html.Bootstrap().Heading1("Unordered List")
    using (Html.Bootstrap().Div().SetId("test-unordered-list").Begin())
    {
        using (var list = Html.Bootstrap().List(ListType.Unordered).Begin())
        {
            @list.ListItem("One")
            @list.ListItem("Two")
        }
    }

    <hr />

    @Html.Bootstrap().Heading1("Ordered List")
    using (Html.Bootstrap().Div().SetId("test-ordered-list").Begin())
    {
        using (var list = Html.Bootstrap().List(ListType.Ordered).Begin())
        {
            @list.ListItem("One")
            @list.ListItem("Two")
        }
    }

    <hr />

    @Html.Bootstrap().Heading1("Unstyled List")
    using (Html.Bootstrap().Div().SetId("test-unstyled-list").Begin())
    {
        using (var list = Html.Bootstrap().List(ListType.Unstyled).Begin())
        {
            @list.ListItem("One")
            @list.ListItem("Two")
        }
    }

    <hr />

    @Html.Bootstrap().Heading1("Inline List")
    using (Html.Bootstrap().Div().SetId("test-inline-list").Begin())
    {
        using (var list = Html.Bootstrap().List(ListType.Inline).Begin())
        {
            @list.ListItem("One")
            @list.ListItem("Two")
        }
    }

    <hr />

    @Html.Bootstrap().Heading1("Description List")
    using (Html.Bootstrap().Div().SetId("test-description-list").Begin())
    {
        using (var list = Html.Bootstrap().DescriptionList().Begin())
        {
            @list.DescriptionTerm("Term")
            @list.Description("Desc")
            @list.DescriptionTerm("One")
            @list.Description("Two")
        }
    }

    <hr />

    @Html.Bootstrap().Heading1("Horizontal Description List")
    using (Html.Bootstrap().Div().SetId("test-horizontal-description-list").Begin())
    {
        using (var list = Html.Bootstrap().DescriptionList().SetHorizontalDescription().Begin())
        {
            @list.DescriptionTerm("Term")
            @list.Description("Desc")
            @list.DescriptionTerm("One")
            @list.Description("Two")
        }
    }
}